package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警信息对象 tbl_alarm
 * 
 * @author zbb
 * @date 2023-02-13
 */
public class Alarm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报警ID */
    private Long alarmId;

    /** 车牌号码 */
    @Excel(name = "车牌号码")
    private String carNum;

    /** 卡口编号 */
    @Excel(name = "卡口编号")
    private String bayonetNum;

    /** 报警类型 */
    @Excel(name = "报警类型")
    private String alarmType;

    /** 是否报警 */
    @Excel(name = "是否报警")
    private String isWarm;

    /** 抓拍时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "抓拍时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmTime;

    /** 号牌种类 */
    @Excel(name = "号牌种类")
    private String carNumType;
    /** 卡口名称 */
    @Excel(name = "卡口名称")
    private String bayonetName;
    /** 所属行政区划 */
    @Excel(name = "所属行政区划")
    private String xzqh;
    /** 车道数 */
    @Excel(name = "车道号")
    private Integer lanesNum;

    public String getCarNumType() {
        return carNumType;
    }

    public void setCarNumType(String carNumType) {
        this.carNumType = carNumType;
    }

    public String getBayonetName() {
        return bayonetName;
    }

    public void setBayonetName(String bayonetName) {
        this.bayonetName = bayonetName;
    }

    public String getXzqh() {
        return xzqh;
    }

    public void setXzqh(String xzqh) {
        this.xzqh = xzqh;
    }

    public Integer getLanesNum() {
        return lanesNum;
    }

    public void setLanesNum(Integer lanesNum) {
        this.lanesNum = lanesNum;
    }

    public void setAlarmId(Long alarmId)
    {
        this.alarmId = alarmId;
    }

    public Long getAlarmId() 
    {
        return alarmId;
    }
    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }
    public void setBayonetNum(String bayonetNum) 
    {
        this.bayonetNum = bayonetNum;
    }

    public String getBayonetNum() 
    {
        return bayonetNum;
    }
    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType() 
    {
        return alarmType;
    }
    public void setIsWarm(String isWarm) 
    {
        this.isWarm = isWarm;
    }

    public String getIsWarm() 
    {
        return isWarm;
    }
    public void setAlarmTime(Date alarmTime) 
    {
        this.alarmTime = alarmTime;
    }

    public Date getAlarmTime() 
    {
        return alarmTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("alarmId", getAlarmId())
            .append("carNum", getCarNum())
            .append("bayonetNum", getBayonetNum())
            .append("alarmType", getAlarmType())
            .append("isWarm", getIsWarm())
            .append("alarmTime", getAlarmTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
